home *** CD-ROM | disk | FTP | other *** search
/ Aminet 23 / Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso / Aminet / dev / moni / hr_mon165.readme < prev    next >
Text File  |  1998-01-05  |  3KB  |  60 lines

  1. Short:    Hunt relative command for mon165; v1.0
  2. Author:   microbe@eris.phys.uni.torun.pl (Andrzej Chojnowski)
  3. Uploader: microbe@eris.phys.uni.torun.pl (Andrzej Chojnowski)
  4. Version:  1.0
  5. Type:     dev/moni
  6.  
  7. Long:  
  8.  
  9. [What's it for ?]
  10.   Here is a small script written to add one, lacking in my opinion, command
  11. to Amiga Monitor v1.65 (c) by Timo Rossi. The script uses script feature
  12. built-in in Amon version 1.52 and over. The added command is 'hunt relative'.
  13. It works much like 'hunt' command in Amon. The only difference is that
  14. relative calls to hunted address are found instead of absolute ones. That
  15. calls are all relative to (pc) address modes including bsr.w instruction.
  16. Bsr.s instructions are not found (so called 'short' relative mode). This
  17. feature will be added in the next version of HR script.
  18.  
  19. [Requirements]
  20.   Any Amiga computer with at least Kickstart 2.0 system.
  21.  
  22. [Usage]
  23.   To install HR in your system just copy HR and HR.bin to Amon's drawer.
  24. To hunt desired address calls in given piece of memory you need to do:
  25.   1) set p=start_address_of_memory_piece
  26.   2) set k=end_address_of_memory_piece
  27.   3) set hr=address_to_hunt
  28.   4) exec hr
  29. The most covenient way to hunt something in one-hunk program is to set p
  30. and k like this: set p=hunk(0)
  31.                  set k=hend(0)
  32. once just after the program has been loaded. Then each time you need to
  33. hunt something do: set hr=something
  34.                    exec hr
  35.   If the names p,k and hr don't suit you, you can always change them
  36. according to your preferences (see copyright note below).
  37.  
  38. [Copyright]
  39.   The HR script is public domain. That means you can do with it anything
  40. you want: spread, modify, sell, put on your CD collection etc.
  41. THE PROGRAM IS PROVIDED TO YOU "AS IS," WITHOUT WARRANTY.
  42. THERE IS NO WARRANTY FOR THE PROGRAM, EITHER EXPRESSED OR IMPLIED,
  43. INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANT-
  44. ABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
  45. OF THIRD PARTY RIGHTS. THE ENTIRE RISK AS TO THE QUALITY AND PER-
  46. FORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
  47. DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR
  48. OR CORRECTION.
  49.  
  50.  
  51. ============================= Archive contents =============================
  52.  
  53. Original  Packed Ratio    Date     Time    Name
  54. -------- ------- ----- --------- --------  -------------
  55.       81      71 12.3% 12-Dec-97 21:11:12  hr
  56.      138     138  0.0% 12-Dec-97 21:11:22  hr.bin
  57.     2167    1178 45.6% 12-Dec-97 21:28:02  hr_mon165.readme
  58. -------- ------- ----- --------- --------
  59.     2386    1387 41.8% 13-Dec-97 18:35:14   3 files
  60.